package com.beerandjesus.sportofkings.handicapper.model;

public enum TrackSurface {
	DIRT("Dirt"),
	TURF("Turf"),
	INNER_DIRT("Inner Dirt"),
	INNER_TURF("Inner Turf"),
	STEEPLE("Steeplechase"),
	HUNT("Hunt"),
	EMPTY("Empty"),
	UNDEFINED("Undefined");
	private String desc;
	
	private TrackSurface(String desc) {
		this.desc = desc;
	}
	public String getDescription() {
		return desc;
	}

    public boolean isTurf() {
        switch (this) {
            case INNER_TURF:
            case TURF:
                return true;
            default:
                return false;
        }
    }

    public boolean isDirtOrArtificial() {
        switch (this) {
            case INNER_DIRT:
            case DIRT:
                return true;
            default:
                return false;
        }
    }

}
